import http2 from "@/api/http2";
/**获取用户列表 */
export const get_pay_code = data => {
  return http2.get(
    `https://yun.tdhly.love/submit.php?pid=2&type=${data.type}&out_trade_no={商户订单号}&notify_url={服务器异步通知地址}&name={商品名称}&money=${data.money}&sign=9vP6xvcc93YYi9c6F3HiY9HFuyZizIxe&sign_type=MD5`
  );
};
// /**email验证码 */
// export const ask_update_user_email = data => {
//   return http2.post("/v1/user/info/ask_update_user_email", data, {
//     headers: {
//       "Content-Type": "multipart/form-data"
//     }
//   });
// };
/**获取容器订单金额 */
export const procedure_get_price = data => {
  return http2.post("/v1/user/procedure/get_price", data, {
    headers: {
      "Content-Type": "multipart/form-data"
    }
  });
};

/**获取虚拟机订单金额 */
export const procedure_vir_price = data => {
  return http2.post("/v1/user/procedure/get_vm_price", data, {
    headers: {
      "Content-Type": "multipart/form-data"
    }
  });
};
